package com.chengdu.his.care.service;

import com.chengdu.his.pojo.Patients;
import com.chengdu.his.pojo.PatientsDetail;
import com.chengdu.his.pojo.Screening;

import java.util.List;

public interface PatientsService {
    // 添加患者信息
    int insertPatients(Patients patients) throws Exception;
    // 根据患者身份证号查询患者信息
    Patients findByIdCard(String idcard) throws Exception;
    // 最终执行添加患者信息
    boolean addPatients(Patients patients, PatientsDetail patientsDetail) throws Exception;
    //显示患者分页信息
    List<Patients> listPatientsByPage();
    // 患者筛查
    int insertScreening(Screening screening) throws Exception;
    // 根据患者id查询患者信息
    Patients findById(int id) throws Exception;
}
